package cn.com.taiji.oospub.wechat.entity;


import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;



/**
 * <p>
 * 
 * </p>
 *
 * @author yzd
 * @since 2020-10-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class DiancanSchoolurl implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    private String schoolName;

    private String schoolUrl;

    private String createtor;

    @TableField("createTime")
    private LocalDateTime createTime;

    @TableField("isEffect")
    private IsEffect isEffect;

    private String schoolCode;

    @TableField("createtorId")
    private String createtorId;

    @TableField("posUrl")
    private String posUrl;

    @TableField("posProjectCode")
    private String posProjectCode;

    @TableField("posCusName")
    private String posCusName;

    @TableField("posPropass")
    private String posPropass;

    public enum IsEffect
    {
        YX("有效"){},
        WX("无效") {};

        @JsonValue
        private String value;

        private IsEffect(String value)
        {
            this.value = value;
        }

        public String getValue()
        {
            return value;
        }

    }



}
